package com.xros.demo.fileserver.type;

/**
 * @Author: mzp
 * @Description: 文件类型枚举
 * @Date: 2024/1/31 11:09
 * @Version: 1.0
 */

public enum FileType {

    DIR("文件夹",0),FILE("文件",1);
    private Integer value;

    private String label;


    FileType(){

    }

    FileType(String label, Integer value){
        this.value = value;
        this.label = label;
    }

    public  Integer value(){
        return value;
    }


    public String label(){
        return label;
    }

}
